home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2001-04-13 | 1.6 KB | 66 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="1"
- "COUNT"="5"
- "UIPATH"="Information\Core"
- "NAME"="Windows NT/2K/XP System Info #2"
- "OSVERSION"="010101"
- "VERSION"="1.02"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Product Name"
- "TEXT 2"="Current Type"
- "TEXT 3"="System Root"
- "TEXT 4"="Install Date"
- "TEXT 5"="CurrentBuild"
- "DESCRIPTION 1"="This plug-in displays some information about your system. You can't change anything!!!"
- "DESCRIPTION 2"="'Install date' refers to the number of seconds that have passed since you installed windows."
- "AUTHOR"="Xteq Systems (CptSiskoX)"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
- "COMMENT 2"="See: http://www.jsiinc.com/tip0600/rh0664.htm"
-
-
- sP="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\"
- sV1="ProductName"
- sV2="CurrentType"
- sV3="SystemRoot"
- sV4="InstallDate"
- sV5="CurrentBuild"
-
- Sub Plugin_Initialize
- if GetWinVer=2 or GetWinVer=4 or GetWinVer=6 then
- s=RegReadValue(sP & sV1)
- Call SetUIElement(1,s)
-
- s=RegReadValue(sP & sV2)
- Call SetUIElement(2,s)
-
- s=RegReadValue(sP & sV3)
- Call SetUIElement(3,s)
-
- s=RegReadValue(sP & sV4)
- Call SetUIElement(4,s)
-
- s=RegReadValue(sP & sV5)
- Call SetUIElement(5,s)
- else
- Call SetUIElement(1,"N/A")
- Call SetUIElement(2,"N/A")
- Call SetUIElement(3,"N/A")
- Call SetUIElement(4,"N/A")
- Call SetUIElement(5,"N/A")
- end if
-
-
- Call Disable 'user can't change anything!
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-